//
//  clublbizaAppDelegate.h
//  clublbiza
//
//  Created by WANG TOM on 7/15/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ITMTableCoreDataContectProvider.h"

@interface clublbizaAppDelegate : UIResponder <UIApplicationDelegate,ITMTableCoreDataContectProvider>

@property (strong, nonatomic) UIWindow *window;

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContextBkThread;

@property (strong, nonatomic) NSThread* syncdataThread;
- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;
- (void)startSyncBackgroundThread;
@end
